import axios from "axios";
const instance=axios.create({
    baseURL:'http://kumanxuan1.f3322.net:8881/cms',
    timeout:4000
})
//请求拦截器
instance.interceptors.request.use(
    config=>{
       return config
    },error => {
    }
)
//响应拦截器
instance.interceptors.response.use(
    success=>{
        return success.data.data
    },
    error => {

    }
)
export default instance
